package com.example.busshop.dao;

import com.example.busshop.common.dao.LogicDAO;
import com.example.busshop.entity.ShopItem;
import org.springframework.data.jpa.repository.Query;

import java.util.Set;

public interface ShopItemDao extends LogicDAO<ShopItem,Long> {
    @Query(value = "select * from shop_item where shop_id=?1",nativeQuery = true)
    Set<ShopItem> All(Long sId);
}
